package org.corey.wyp.vo;

import javax.persistence.CascadeType;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;

@Entity
@DiscriminatorValue("day")
public class DaySettingTemplate extends SettingTemplate {
	
	@OneToOne(fetch = FetchType.EAGER,cascade=CascadeType.ALL)
	@JoinColumn(name = "DAY_SETTING_ID")
	private DaySetting daySetting;

	public DaySetting getDaySetting() {
		return daySetting;
	}

	public void setDaySetting(DaySetting daySetting) {
		this.daySetting = daySetting;
	}



}
